import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { Col, Row } from 'vant';
import { Button } from 'vant';
import { Form, Field, CellGroup } from 'vant';
import { Divider } from 'vant';
import { Checkbox, CheckboxGroup } from 'vant';
import { Popup } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Card } from 'vant';
import { Stepper } from 'vant';
import { ConfigProvider } from 'vant';
import { SubmitBar } from 'vant';
import { Tabbar, TabbarItem } from 'vant';
import { Tag } from 'vant';
import { AddressEdit } from 'vant';
import { Picker } from 'vant';
import { Icon } from 'vant';
import { AddressList } from 'vant';
import { Cell } from 'vant';
import api  from '@/api'
import axios from 'axios';
import { Skeleton } from 'vant';
import { Loading } from 'vant';
const app = createApp(App)


app.use(router)
app.use(Col);
app.use(Row);
app.use(Button);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Divider);
app.use(Checkbox);
app.use(CheckboxGroup);
app.use(Popup);
app.use(Swipe);
app.use(SwipeItem);
app.use(Card);
app.use(Stepper);
app.use(ConfigProvider);
app.use(SubmitBar);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Tag);
app.use(AddressEdit);
app.use(Picker);
app.use(Icon);
app.use(AddressList);
app.use(Cell);
app.use(Cell);
app.use(Skeleton);
app.use(Loading);

app.config.globalProperties.$API = api
app.config.globalProperties.$axios = axios

app.mount('#app')




